export default [
  {
    path: '/',
    redirect: '/user'
  },
  {
    path: '/user',
    redirect: '/user/home',
    component: () => import('@/views/user/UserRouterView.vue'),
    children: [
      {
        path: 'home',
        name: 'home',
        component: () => import('@/views/user/HomeT.vue'),
        meta: {
          title: '首页',
          keepAlive: false,
          requiresAuth: false
        }
      },
      {
        path: 'mine',
        name: 'mine',
        component: () => import('@/views/user/MineT.vue'),
        meta: {
          title: '我的',
          keepAlive: false,
          requiresAuth: false
        }
      }
    ]
  },
  {
    path: '/map/:typeId',
    name: '/map',
    component: () => import('@/views/map/MapT.vue'),
    meta: {
      title: '地图',
      keepAlive: false,
      requiresAuth: false
    }
  }
]
